import React from 'react'
import useFn from '../position';
import CatUrl from '../assets/cat.gif'
export default function Cat() {
  let { x, y } = useFn()
  x += 100
  y-=50
  return (
    <div>
      <img
        src={CatUrl}
        alt=""
        style={{ position: "absolute", left: x, top: y }}
      />
    </div>
  );
}
